package xyz.xtgl.employee.entity;

import java.math.BigDecimal;
import java.util.Date;
import plus.logic.LogicBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商户员工，用来收银登录时候用
 * </p>
 *
 * @author liubo
 * @since 2020-02-14
 */
@Data
@ToString
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="BEmployeeUser对象", description="商户员工，用来收银登录时候用")
public class BEmployeeUser extends LogicBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工姓名")
    private String name;

    @ApiModelProperty(value = "员工详情")
    private String detail;

    @ApiModelProperty(value = "门店商户ID")
    private Long merchantUserId;

    @ApiModelProperty(value = "所属门店ID")
    private Long merchantStoreId;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "状态[1:正常,0:已删除]")
    private Integer status;

    @ApiModelProperty(value = "员工类型[1:店长,2:收银员,3:导购员]")
    private Integer type;

    @ApiModelProperty(value = "性别[1:男,2:女]")
    private Integer sex;

    @ApiModelProperty(value = "QQ号码")
    private String qq;

    @ApiModelProperty(value = "微信")
    private String weixin;

    @ApiModelProperty(value = "生日")
    private Date birthday;

    @ApiModelProperty(value = "员工登录的机器码")
    private String machineCode;

    @ApiModelProperty(value = "提成系数")
    private BigDecimal commissionRate;

    @ApiModelProperty(value = "员工每月工资")
    private BigDecimal wage;

}
